#coding=utf-8
import functools
# def int2(x,base=2):
#     return int(x,base)
#
# print(int2('10000000'))
# print(int2('1010101'))


int2=functools.partial(int, base=2)
print(int2('10000000'))




